package com.cheegu.common.parser.gpsdata.pojo;


import org.joda.time.DateTime;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 说明
 *
 * @author zhangxh
 * @email zhangxh@cheegu.coms
 * @date 2018/3/22 16:45
 */
public abstract class GpsLocation {
    public abstract int ReadBuffer(int pos, byte[] buffer);

    SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy.MM.dd HH:mm:ss");
    public Date reportTime = new DateTime(1970, 1, 1, 0, 0).toDate();
    public Date localTime = new Date(1970, 1, 1);
    public Date ReceiveTime = new Date(1970, 1, 1);
    double OLat = 0;
    double OLng = 0;
    double Speed = 0;
    short Orientation = 0;
    boolean IsValid = false;
    VehicleStatus VehicleAlarm = new VehicleStatus();
}
